<template>
    <div>
        <div class="manage_box" style="margin-top: 10px;">
							<div class="mb-20">{{ item1.Display }}</div>
							<!--<div>风险管理信息</div>-->
							<img src="@/assets/Images/AppIcon/fragment_noticetype_5.png" alt=""	@click="editSpecialOperation(FieldName, item1)" />
						</div>
						<div>
							<div v-if="item1.Configs">
								<div class="none" v-if="item1.Configs.every((v) => !v.Value)">
									尚未填写
								</div>
								<div v-else>
									<div v-for="(item3, index3) in item1.Configs" :key="index3">
                                            <CompanyEditChildItem :item3="item3"></CompanyEditChildItem>
									</div>
								</div>
							</div>
							<div v-else style="text-align: center">
								<div style="margin-bottom: 10px; color: #e16358">
									尚未填写
								</div>
								<div class="mb-10">
									<van-button type="info" @click="editSpecialOperation(FieldName, item1)">
										立即填写
									</van-button>
								</div>
								<div>请根据实际情况填写</div>
							</div>
						<!-- </div>
						</div> -->
						</div>
    </div>
</template>

<script>
import CompanyEditChildItem from './CompanyEditChildItem.vue';
    export default {
        components:{
            CompanyEditChildItem
        },
        props:{
            item1:{
                
            },
            FieldName:{
                type:String,
                default:''
            }
        },
        methods:{
            editSpecialOperation(_key, item) {
                this.$emit('callback',_key,item)
            },
            toTable(item) {

			this.$router.push({
				path: 'BaseInfo/Table', query: {
					value: item.Value,
					params: item.ParamList
				}
			})
		},
        }
    }
</script>

<style lang="less" scoped>
	.manage_box {
		display: flex;
		margin-bottom: 10px;
		justify-content: space-between;

		img {
			height: 15px;
			width: 15px;
		}
	}
    .none {
	height: 40px;
	line-height: 40px;
	text-align: center;
	color: #e16358;
}
.perilous {
	font-size: 14px;
	line-height: 1.3;
}
</style>